﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ModelEntities.Adapter;

namespace UnitTestReprisePV
{
    [TestClass]
    public class UnitTestAdapter
    {
        [TestMethod]
        public void TestMethodEncapsulationEntetePVNULL()
        {
            MEntetePV pv = new MEntetePV();
            pv.setContenu(null);
            Assert.AreEqual(pv.NoPV, null);
        }

        [TestMethod]
        public void TestMethodEncapsulationDetailsPVNULL()
        {
            MDetailsPV pv = new MDetailsPV();
            pv.setContenu(null);
            Assert.AreEqual(pv.NoPV, null);
        }
    }
}
